/*@import "theme/jquery.ui.core.css";
@import "theme/jquery.ui.theme.css";*/

/* ЭЛЕМЕНТЫ ФОРМ */
.ui-phorm-form-calendar { background-image: url(icons/calendar.png); background-repeat: no-repeat; background-position: 70px center; width: 83px; line-height: 18px; cursor: pointer; padding: 0 2px; }
.ui-phorm-form-select { max-width: 200px; line-height: 20px; height: 20px; padding: 0 2px; }
.ui-phorm-form-text { width: 120px; line-height: 18px; padding: 0 2px; }
.ui-phorm-form-int { width: 80px; line-height: 18px; padding: 0 2px; }
.ui-phorm-form-button { line-height: 18px; padding: 0 4px; cursor: pointer; }

/* ДЕРЕВО РАЗДЕЛОВ */
.ui-phorm-tree { width: auto; }
.ui-phorm-tree li { padding: 0 0 0 18px !important; margin: 1px 0 !important; background:url(icons/page_white.png) no-repeat;}
.ui-phorm-tree > li { padding: 0; }
.ui-phorm-tree li.ui-phorm-tree-folder { background:url(icons/folder.png) no-repeat; }
.ui-phorm-tree li.ui-phorm-tree-folder.ui-phorm-tree-expanded { background:url(icons/folder_open.png) no-repeat; }
.ui-phorm-tree li a { display: block; cursor: pointer; padding: 2px; text-decoration: none;  white-space: nowrap; }
.ui-phorm-tree li a.ui-state-hover { border: none; }
.ui-phorm-tree li a.ui-state-active { border: none; }

/* DATAGRID */
.ui-phorm-grid { background: url(icons/loading.gif) no-repeat left 4px; min-height: 20px; width: 100%; }
.ui-phorm-grid .ui-phorm-grid-table { border-collapse: collapse; width: 100%; margin: 5px 0; }
.ui-phorm-grid .ui-phorm-grid-table tr { border-bottom: none; border-right: none; border-left: none; }
.ui-phorm-grid .ui-phorm-grid-table tr:first-child { border: none; }
.ui-phorm-grid .ui-phorm-grid-table td { margin: 0; padding: 3px 5px; }
.ui-phorm-grid .ui-phorm-grid-table th { padding: 5px; text-align: left; }
.ui-phorm-grid .ui-phorm-grid-table th.ui-phorm-grid-order-asc { background: url(icons/bullet_arrow_down.png) no-repeat right; }
.ui-phorm-grid .ui-phorm-grid-table th.ui-phorm-grid-order-desc { background: url(icons/bullet_arrow_up.png) no-repeat right; }
.ui-phorm-grid .ui-phorm-grid-icon { cursor: pointer; padding: 2px; }
.ui-phorm-grid .ui-phorm-grid-pager { }
.ui-phorm-grid .ui-phorm-grid-search { }
.ui-phorm-grid .ui-phorm-grid-search.margin_space { margin-bottom: 5px; } /* Пространство между поисковой формой и верхней постраничной навигацией */
.ui-phorm-grid .ui-phorm-grid-notfound { font-weight: bold; padding: 6px; width: 300px; }
.ui-phorm-grid .ui-phorm-grid-notfound .ui-icon { float:left; margin-right:.3em; }
.ui-phorm-grid-label { margin: 2px 0; display: block; }

/* НАБОРЫ ВИДЖЕТОВ */
.ui-phorm-layout { width: 100%; height: 660px; }
.ui-phorm-layout .ui-phorm-layout-maket { padding: 0; margin: 0 0 10px 0; cursor: pointer; }
.ui-phorm-layout .ui-phorm-layout-sides { border-top: none; border-left: none; width: 200px; height: 160px; padding: 0; }
.ui-phorm-layout .ui-phorm-layout-side { border-bottom: none; border-right: none; text-align: center; padding: 8px; box-sizing: border-box; -moz-box-sizing: border-box; }
.ui-phorm-layout .ui-phorm-layout-workspace { width: 100%; height: 100%; }
.ui-phorm-layout ul.ui-phorm-layout-widgets { margin: 0; padding: 0; list-style: none; height: 30px; }
.ui-phorm-layout ul.ui-phorm-layout-widgets li { cursor: move; width: 150px; float: left; padding: 4px; position: relative; margin: 2px; line-height: 22px; min-height: 32px; box-sizing: border-box; -moz-box-sizing: border-box; }
.ui-phorm-layout ul.ui-phorm-layout-widgets li .ui-button { margin: 2px; float: right; }
.ui-phorm-layout .ui-layout-west { border: none !important; }
.ui-phorm-layout .ui-layout-center { border: none !important; }

/* ДИАЛОГ */
.ui-phorm-dialog { border: none; padding: 0; margin: 0; position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* СООБЩЕНИЯ-АЛЕРТЫ */
.ui-phorm-warnings { font-weight: bold; padding: 6px 8px 6px 6px; float: left; width: auto; }
.ui-phorm-warnings ul { float: left; list-style: none; padding: 0; margin: 0; }
.ui-phorm-warnings .ui-icon { float:left; margin-right:.3em; }

/* ПРОГРЕСС_БАР */
.ui-phorm-progress { background: url(icons/loading.gif) no-repeat; min-height: 20px; width: 100%; }

/* TIMEPICKER ADDON */
.ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }
.ui-timepicker-div dl { text-align: left; }
.ui-timepicker-div dl dt { height: 25px; margin-bottom: -25px; }
.ui-timepicker-div dl dd { margin: 0 10px 10px 65px; }
.ui-timepicker-div td { font-size: 90%; }
.ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }

/* ВИДЖЕТЫ JQUERYUI ЧЕРЕЗ DATA */
[data-uitype=sortable] > * { cursor: move; }

